Repository navigation
v0 [3/5]: iOS — Swift core, Nitro adapter, two pods, Expo config plugin - #23
Draft
adhorodyski wants to merge 2 commits into
Draft
adhorodyski wants to merge 2 commits into
adhorodyski wants to merge 2 commits into
Conversation
…ds and the Expo config plugin Layer 3 of the v0 stack (squashed from v0-impl, PR #20): - core (ios/Core): seam spans built into SpanData, config, endpoint and headers (envVarHeaders, gzip), explicit parenting, sticky init (R16) - adapter: HybridOtel and the public RNOtel helpers (RNOtel.start native-first init) - ReactNativeOpenTelemetryCore pod + the Nitro adapter pod (R24); app.plugin.js adds the Core pod line for Expo - Package.swift + verify stage fast-swift: every hand-off fixture through the Swift core, compared to *.ios.otlp.json - static: the Swift packageVersion must match package.json Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 25, 2026
Under CPU load a backgrounded app can be starved for ~15 s despite its background task: the export request stalls until the app is reopened, which is the background-flush e2e failure on CI. Reproduced locally under load (about half of first attempts failed, 14.8 s stalls); with willResignActive 12 of 12 passed first try. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
ios/Core): seam spans intoSpanData, config, endpoint + headers (envVarHeaders, gzip), explicit parenting, sticky init (R16)HybridOtel+ publicRNOtelhelpersReactNativeOpenTelemetryCore+ the Nitro adapter;app.plugin.jsadds the Core pod line for ExpoPackage.swift+fast-swiftstage;*.ios.otlp.jsonexpected filespackageVersionmust match package.jsonVerified locally
bun verify static fast-js fast-swift: 26 Swift tests, 16 fixtures match their ios files.Not in this PR
Pod install / app build of the adapter is first proven in #24.
Decisions for you (defaults applied; override with
spec:comments)flagsortraceState, or the scopeschemaUrl. This is recorded as a limitation; the encoder is not reimplemented.TRACEPARENTenvironment variable becomes the parent of every root span (upstream behaviour).pod 'ReactNativeOpenTelemetryCore'to their Podfile; Expo apps get the line fromapp.plugin.js.podspecPath.*.ios.otlp.jsonfiles need your review.willResignActive, notdidEnterBackground(second commit). Spec §9.4 says "when the app goes to background".willResignActivecomes earlier and also fires for transient interruptions such as Control Center or a call; the extra flush there is harmless.Part of the v0 stack that replaces #20 for review: #21 JS SDK → #22 Android → #23 iOS → #24 examples + e2e → #25 ops. Each PR is one squashed commit holding its area in final form (later review fixes folded in); the stack top matches
v0-implexcept one stale CI comment fixed in #25. Full history:v0-impl/ #20. Nothing publishes: release runs only after CI onmain, and the npm environment does not exist yet.🤖 Generated with Claude Code